function foo(name, age) { }
foo("why", 19)
foo("kobe", 30)


// 完整的写法
function bar<T>(arg: T) { return arg }
const res1 = bar<number>(123)
const res2 = bar<string>("abc")
const res3 = bar<{ name: string }>({ name: "why" })

// 省略的写法
const res4 = bar("aaaaaa")
const res5 = bar(1111111) // const res5: 1111111
let res6 = bar(1111111) // let res6: number



export { }